﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace ThapCam.Ulti
{
    public sealed class XmlManager : XmlDocument
    {
        public XmlManager(): base()
        {
        }

        public static XmlManager loadXML(string path)
        {
            try
            {
                XmlManager xml = new XmlManager();
                xml.Load(path);
                return xml;
            }
            catch (Exception ex)
            {
                LogManager.writeError(typeof(XmlManager).GetType(), null, ex);
            }
            return null;
        }
    }
}